#ifndef _TLS_FS_H
#define _TLS_FS_H

#include <linux/kernel_read_file.h>
#include <linux/key-type.h>
#include <linux/digsig.h>
#include <crypto/public_key.h>

#define SERVER_CERT_PATH "./cert/ecdsa_server.crt"
#define CLIENT_CERT_PATH "./cert/ecdsa_server.crt"
#define SERVER_KEY_PATH "./cert/ecdsa_server.key"
#define CLIENT_KEY_PATH "./cert/ecda_server.key"
#define PEM_HEADER "-----BEGIN CERTIFICATE-----"
#define PEM_FOOTER "-----END CERTIFICATE-----"
#define KEY_HEADER "-----BEGIN PRIVATE KEY-----"
#define KEY_FOOTER "-----END PRIVATE KEY-----"

int kread_cert(void *data, unsigned char *path);
int kread_key(void *data, unsigned char *path);
#endif
